package com.tangkun.environment.entity.common;


import com.tangkun.environment.entity.base.BaseModel;

import java.util.List;

/**
 * Created Time: 2017/3/18.
 * <p>
 * Author:tangkun
 * <p>
 * 功能：公共字典
 */
public class CommonDatasReturn extends BaseModel {

    public CommonDatas result;

    public static class CommonDatas {
        /**
         * h5BaseUrl : http://119.6.97.227:8007/App
         * resourceBaseUrl : http://119.6.97.227:8007/Upload/
         * enums : [{"name":"EnumUserRole","desc":null,"items":[{"name":"医生","value":0,"desc":null},{"name":"护士","value":1,"desc":null},{"name":"患者","value":2,"desc":null}]},{"name":"EnumUserSex","desc":null,"items":[{"name":"男","value":0,"desc":null},{"name":"女","value":1,"desc":null}]},{"name":"EnumAuditStatus","desc":null,"items":[{"name":"待审核","value":0,"desc":null},{"name":"审核通过","value":1,"desc":null},{"name":"审核不通过","value":2,"desc":null}]},{"name":"EnumPatientTreatmentType","desc":null,"items":[{"name":"APD","value":0,"desc":null},{"name":"CAPD","value":1,"desc":null},{"name":"PDP","value":2,"desc":null}]},{"name":"EnumIntegralRuleTrigger","desc":null,"items":[{"name":"每次","value":0,"desc":null},{"name":"每天","value":1,"desc":null},{"name":"每月","value":2,"desc":null},{"name":"仅一次","value":3,"desc":null}]},{"name":"EnumIntegralRuleDecript","desc":null,"items":[{"name":"患者首次注册并登陆获得经验","value":0,"desc":null},{"name":"腹透数据上传或填写可得经验","value":1,"desc":null},{"name":"体征数据上传或填写","value":2,"desc":null},{"name":"评估数据上传","value":3,"desc":null},{"name":"填写检查数据","value":4,"desc":null}]},{"name":"EnumHospitalGrade","desc":null,"items":[{"name":"三级","value":0,"desc":null},{"name":"二级","value":1,"desc":null},{"name":"一级","value":2,"desc":null},{"name":"大医生","value":3,"desc":null},{"name":"其他","value":4,"desc":null}]},{"name":"EnumNewsDoctorPlateform","desc":null,"items":[{"name":"所有","value":1,"desc":null},{"name":"医护端Web","value":2,"desc":null},{"name":"医护端App","value":3,"desc":null}]},{"name":"EnumNewsPatientPosition","desc":null,"items":[{"name":"顶部","value":1,"desc":null},{"name":"底部左侧","value":2,"desc":null},{"name":"底部右侧","value":3,"desc":null}]},{"name":"EnumNewsType","desc":null,"items":[{"name":"医护资讯","value":0,"desc":null},{"name":"患者资讯","value":1,"desc":null}]},{"name":"EnumNewsStatus","desc":null,"items":[{"name":"待审核","value":0,"desc":null},{"name":"已发布","value":1,"desc":null}]},{"name":"EnumPatientStatus","desc":null,"items":[{"name":"使用中","value":0,"desc":null},{"name":"死亡","value":1,"desc":null},{"name":"转血透","value":2,"desc":null},{"name":"肾移植","value":3,"desc":null},{"name":"转保守治疗","value":4,"desc":null},{"name":"其他","value":5,"desc":null}]},{"name":"EnumChatgroupType","desc":null,"items":[{"name":"默认大群","value":1,"desc":null},{"name":"普通个人群","value":2,"desc":null}]},{"name":"EnumConsultationStatus","desc":null,"items":[{"name":"进行中","value":0,"desc":null},{"name":"已结束","value":1,"desc":null}]},{"name":"EnumConsultationMemberJoinStatus","desc":null,"items":[{"name":"等待处理","value":0,"desc":null},{"name":"已接受","value":1,"desc":null},{"name":"已拒绝","value":2,"desc":null}]}]
         * systemParames : [{"typeKey":"cmd","typeDes":"澄明度","items":[{"id":1,"name":"澄清"},{"id":2,"name":"浑浊"}]},{"typeKey":"ys","typeDes":"颜色","items":[{"id":3,"name":"微黄色"},{"id":4,"name":"粉红色"}]},{"typeKey":"brw","typeDes":"不溶物","items":[{"id":5,"name":"无"},{"id":6,"name":"血块"},{"id":7,"name":"絮状"},{"id":8,"name":"其他"}]},{"typeKey":"cll","typeDes":"超滤量","items":[{"id":9,"name":"正超滤"},{"id":10,"name":"零超滤"},{"id":11,"name":"负超滤"}]},{"typeKey":"zz","typeDes":"肿胀","items":[{"id":12,"name":"无"},{"id":13,"name":"只有出口<0.5cm"},{"id":14,"name":">0.5cm和/或隧道"}]},{"typeKey":"jp","typeDes":"痂皮","items":[{"id":15,"name":"无"},{"id":16,"name":"<0.5cm"},{"id":17,"name":">0.5cm"}]},{"typeKey":"cx","typeDes":"充血","items":[{"id":18,"name":"无"},{"id":19,"name":"<0.5cm"},{"id":20,"name":">0.5cm"}]},{"typeKey":"tt","typeDes":"疼痛","items":[{"id":21,"name":"无"},{"id":22,"name":"轻微"},{"id":23,"name":"严重"}]},{"typeKey":"ylw","typeDes":"引流物","items":[{"id":24,"name":"无"},{"id":25,"name":"浆液性"},{"id":26,"name":"脓性"}]},{"typeKey":"whcd","typeDes":"文化程度","items":[{"id":27,"name":"小学"},{"id":28,"name":"初中"},{"id":29,"name":"高中"},{"id":30,"name":"大学及以上"}]},{"typeKey":"bxfs","typeDes":"报销方式","items":[{"id":31,"name":"职工医保"},{"id":32,"name":"居民医保"},{"id":33,"name":"新农合"},{"id":34,"name":"自费"},{"id":35,"name":"其他"}]},{"typeKey":"yfb","typeDes":"原发病","items":[{"id":36,"name":"高血压"},{"id":37,"name":"糖尿病"},{"id":38,"name":"肾小球肾炎"},{"id":39,"name":"狼疮肾"},{"id":40,"name":"多囊肾"},{"id":41,"name":"其他"}]},{"typeKey":"bsjb","typeDes":"伴随疾病","items":[{"id":42,"name":"糖尿病"},{"id":43,"name":"高血压"},{"id":44,"name":"心脏衰竭"},{"id":45,"name":"其他"}]},{"typeKey":"csb","typeDes":"传染病","items":[{"id":46,"name":"艾滋病"},{"id":47,"name":"肺结核"},{"id":48,"name":"甲肝"},{"id":49,"name":"乙肝"},{"id":50,"name":"丙肝"},{"id":51,"name":"梅毒"}]},{"typeKey":"jszk","typeDes":"精神状况","items":[{"id":52,"name":"好"},{"id":53,"name":"一般"},{"id":54,"name":"差"}]},{"typeKey":"sy","typeDes":"食欲","items":[{"id":55,"name":"好"},{"id":56,"name":"一般"},{"id":57,"name":"差"}]},{"typeKey":"hzsm","typeDes":"睡眠","items":[{"id":58,"name":"好"},{"id":59,"name":"一般"},{"id":60,"name":"差"}]},{"typeKey":"txnd","typeDes":"透析浓度","items":[{"id":61,"name":"1.5%"},{"id":62,"name":"2.5%"},{"id":63,"name":"4.5%"}]},{"typeKey":"szqk","typeDes":"水肿情况","items":[{"id":64,"name":"一点水肿"},{"id":65,"name":"不水肿"},{"id":66,"name":"严重水肿"}]}]
         */

        public String h5BaseUrl;
        public String resourceBaseUrl;
        public List<EnumsBean> enums;
        public List<SystemParamesBean> systemParames;

        public static class EnumsBean {
            /**
             * name : EnumUserRole
             * desc : null
             * items : [{"name":"医生","value":0,"desc":null},{"name":"护士","value":1,"desc":null},{"name":"患者","value":2,"desc":null}]
             */

            public String name;
            public Object desc;
            public List<ItemsBeanX> items;

            public static class ItemsBeanX {
                /**
                 * name : 医生
                 * value : 0
                 * desc : null
                 */

                public String name;
                public int value;
                public Object desc;
            }
        }

        public static class SystemParamesBean {
            /**
             * typeKey : cmd
             * typeDes : 澄明度
             * items : [{"id":1,"name":"澄清"},{"id":2,"name":"浑浊"}]
             */

            public String typeKey;
            public String typeDes;
            public List<ItemsBean> items;

            public static class ItemsBean {
                /**
                 * id : 1
                 * name : 澄清
                 */

                public int id;
                public String name;

                public boolean isSelected;//是否被选中
            }
        }
    }
}
